import requests

url = 'http://127.0.0.1:3000'
payload = {
    'source_language': 'English',
    'target_language': 'Chinese',
}
with open('./tests/test.pdf', 'rb') as file:
    files = {'input_file': file}
    response = requests.post(url + '/translate', data=payload, files=files)
    print(response.text)
